onFragmentPreCreated

open fun onFragmentPreCreated(@NonNull fm: FragmentManager, @NonNull f: Fragment, @Nullable savedInstanceState: Bundle)(source)

Called right before the fragment's onCreate method is called. This is a good time to inject any required dependencies or perform other configuration for the fragment.

Parameters

fm

Host FragmentManager

f

Fragment changing state

savedInstanceState

Saved instance bundle from a previous instance